package com.ddwl.schema.bo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2020/10/28 17:53
 */
@Getter
@Setter
@ApiModel("砍价商品skuBo")
public class BargainSkuAddBo {

    @NotNull(message = "砍价库存不能为空")
    @Size(min = 1,message = "至少添加一个商品规格")
    @ApiModelProperty("砍价库存")
    private List<Integer> chopStockList;

    @NotNull(message = "商品规格编码不能为空")
    @Size(min = 1,message = "至少添加一个商品规格")
    @ApiModelProperty("sku编码")
    private List<String> barcodeList;

}
